package com.wlc.base.enums;

public class TestEnum {

    public static void main(String[] args) {
        method02();
    }

    /**
     * 获取季节的枚举类
     */
    public static void method01() {
        System.out.println(SpringEnum.SPRING.getSeq());
    }

    public static void method02() {
        String msg = ResultEnum.SUCCESS.getMsg();
        int code = ResultEnum.SUCCESS.getCode();
        System.out.println("code->"+ code + "  msg->"+msg);
    }
}
